home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Amiga Tools 3
/
Amiga Tools 3.iso
/
grafik
/
raytracing
/
rayshade-4.0.6.3
/
examples
/
cblob.ray
< prev
next >
Wrap
Text File
|
1994-08-09
|
2KB
|
40 lines
/*
* Example blob input file, courtesy of Mark Podlipec
* Modified for multi-surfaced blob (i.e. cblob) by George McGregor
*/
eyep 0.0 -6.0 1.0
lookp 0.0 0.0 0.0
fov 45. 45.
screen 240 240
light 1.4 point 15. -20. 25.
light 0.7 point 5. -25. 10.
surface white ambient .02 .02 .02 diffuse .5 .5 .5 specular .8 .8 .8 specpow 32
surface bland ambient .02 .02 .02 diffuse .5 .5 .5 specular .8 .8 .8 specpow 32
/* Note: Seperate surfaces for each metaball... which may not be necessary */
surface crystal diffuse .03 .03 .08
reflect 0.03 transp 0.96 index 1.5
surface greensmoke diffuse .01 .05 .01 reflect .10 specpow 30 specular .8 .85 .8
surface blueglass diffuse .09 .15 .45 specular .5 .5 .6 reflect .5
surface gold diffuse 0.22 0.18 0.05 specular .8 .8 .4 ambient .04 .02 .0
reflect 0.93 specpow 58
surface ceramic diffuse 0.6118 0.6794 0.7471 ambient 0.2039 0.2265 0.2490
specular .5 .5 .5 specpow 25
surface plaster diffuse 0.6735 0.6059 0.4465 ambient 0.2245 0.2020 0.1388
surface silver diffuse .02 .02 .04 specular .71 .71 .7 reflect .95 specpow 70
/* surface treshhold strength radius x y z surface */
/* | | | | | | | | | */
/* V V V V V V V V V */
cblob bland 0.6 1.0 1.0 -0.900 0.000 0.000 plaster
1.0 1.0 0.900 0.000 0.000 greensmoke
1.0 1.0 0.000 0.000 -0.900 ceramic
1.0 1.0 0.000 0.000 0.900 silver
plane white 0. 0. -3.77 0 0 1